using SqlSugar;
using System.ComponentModel;

namespace CoreShop.Model
{
    /// <summary>
    /// 商品详情表(把后台的corecmsfooddetail和corecmsfooddetailPartial合在一起)
    /// </summary>
    public partial class corecmsfooddetailPost
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public corecmsfooddetailPost()
        {
        }

        /// <summary>
        /// 商品id
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int64 foodId { get; set; } = 0;

        /// <summary>
        /// 品牌id
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 corpId { get; set; } = 0;


        /// <summary>
        /// 门店id
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 storeId { get; set; } = 0;


        /// <summary>
        /// 是否称重
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Boolean isHeft { get; set; } = false;


        /// <summary>
        /// 数字助记码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String helpCode { get; set; }


        /// <summary>
        /// 拼音助记码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String pinYin { get; set; }


        /// <summary>
        /// 保质期
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 warrantyValue { get; set; } = 0;

        /// <summary>
        /// 保质期
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 warrantyType { get; set; } = 0;

        /// <summary>
        /// 是否需要打印
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Boolean isPrint { get; set; } = false;


        /// <summary>
        /// 后台出品档口
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String gearOpening { get; set; }


        /// <summary>
        /// 收银端是否允许改价
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Boolean isChangePrice { get; set; }


        /// <summary>
        /// 收银端是否允许打折
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Boolean isDiscount { get; set; }

        /// <summary>
        ///最低折扣 
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Decimal minDiscount { get; set; }

        /// <summary>
        /// 起售份数
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 upSell { get; set; } = 0;


        /// <summary>
        /// 增量售卖数
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 addSell { get; set; } = 0;


        /// <summary>
        /// 出品部门
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int64? departId { get; set; }=0;


        /// <summary>
        /// 出品部门类型(0.与商品一致，1.自定义)
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32? departType { get; set; }


        /// <summary>
        /// 商品图片
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String image { get; set; }


        /// <summary>
        /// 手机端图片是否展示
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Boolean isShow { get; set; }

        /// <summary>
        /// 是否是称重商品 （0不称重，1称重菜)
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 weighType { get; set; }

        /// <summary>
        /// 商品角标
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String subscript { get; set; }


        /// <summary>
        /// 商品描述
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String remark { get; set; }


        /// <summary>
        /// 商品详细描述
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.String remarkDetail { get; set; }


        /// <summary>
        ///排序
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32? sort { get; set; } = 0;

        /// <summary>
        ///积分类型（1：固定积分，2：销售额百分比）
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32? pointType { get; set; }


        /// <summary>
        ///积分值（-1表示不参与）
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Decimal? pointValue { get; set; }


        /// <summary>
        ///是否原料
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int32 isGoods { get; set; }

        /// <summary>
        ///商品id
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int64 goodsId { get; set; }


        /// <summary>
        ///商品id
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.Int64 houseId { get; set; }



        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.DateTime createTime { get; set; }


        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public System.DateTime? updateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public long? goodsCategoryId { get; set; }


        /// <summary>
        /// 商品分类名
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string goodsCategoryName { get; set; } = "无";

        /// <summary>
        /// 商品库存
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public decimal? quantity { get; set; } = 0;
    }
}
